


<%@ page contentType="text/html;charset=UTF-8" language="java" import="java.util.*" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>T使用request内置对象</title>
</head>
<body bgcolor="#ccfffcc">
<h1>你刚才输入的内容是：</h1>
<%
// 获取搭配提交的所有属性名
Enumberation enu = request.getParameterNames();
// 循环查看每个属性信息
while(enu.hasMoreElements()){
String paramterNmae = (String) enu.nextElement();
String paramterValue = request.getParameter(paramterName);
out.print("参数名称："+parameterName+"<br>");
out.print("参数内容："+getParameterValues+"<br>");
}
%>
</body>
</html>